package com.yunxi.service.localService.sys;

import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.sys.Menu;
import org.springframework.transaction.annotation.Transactional;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

/**
 * Created by xuruzi on 2017/5/3.
 */
public interface MenuService extends IServicePlus<Menu> {
    @Transactional(timeout = 5000,readOnly = true)
    List getMenu();

    Object findTreeListBySysType(String sys_type) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    Object findTreeList() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    int insert(Menu var1);
}
